<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Bluetooth Host Stack Library: LE Security</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="IFXCYP_one-line.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Bluetooth Host Stack Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('group__btm__ble__sec__api__functions.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">LE Security<div class="ingroups"><a class="el" href="group__wicedbt___device_management.html">Device Management</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">General Description</h2>
<p>LE Security API. </p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga806119ffc38aa9ec12a03f9f2c8c8d43"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__btm__ble__sec__api__functions.html#ga806119ffc38aa9ec12a03f9f2c8c8d43">wiced_bt_dev_add_device_to_address_resolution_db</a> (<a class="el" href="structwiced__bt__device__link__keys__t.html">wiced_bt_device_link_keys_t</a> *p_link_keys)</td></tr>
<tr class="memdesc:ga806119ffc38aa9ec12a03f9f2c8c8d43"><td class="mdescLeft">&#160;</td><td class="mdescRight">add link key information to internal address resolution db  <a href="#ga806119ffc38aa9ec12a03f9f2c8c8d43">More...</a><br /></td></tr>
<tr class="separator:ga806119ffc38aa9ec12a03f9f2c8c8d43"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga91b6c2557800b5d63f8c94c17af05183"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__btm__ble__sec__api__functions.html#ga91b6c2557800b5d63f8c94c17af05183">wiced_bt_dev_remove_device_from_address_resolution_db</a> (<a class="el" href="structwiced__bt__device__link__keys__t.html">wiced_bt_device_link_keys_t</a> *p_link_keys)</td></tr>
<tr class="memdesc:ga91b6c2557800b5d63f8c94c17af05183"><td class="mdescLeft">&#160;</td><td class="mdescRight">remove link key information from internal address resolution db  <a href="#ga91b6c2557800b5d63f8c94c17af05183">More...</a><br /></td></tr>
<tr class="separator:ga91b6c2557800b5d63f8c94c17af05183"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga411296312ff6cdcc59a48eb83095faf7"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__btm__ble__sec__api__functions.html#ga411296312ff6cdcc59a48eb83095faf7">wiced_bt_dev_get_acl_conn_handle</a> (<a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> bdaddr, <a class="el" href="group__bt__types.html#gae0d25ec063a889c537f3a77010cf5ef0">wiced_bt_transport_t</a> transport)</td></tr>
<tr class="memdesc:ga411296312ff6cdcc59a48eb83095faf7"><td class="mdescLeft">&#160;</td><td class="mdescRight">get the acl connection handle for bdaddr  <a href="#ga411296312ff6cdcc59a48eb83095faf7">More...</a><br /></td></tr>
<tr class="separator:ga411296312ff6cdcc59a48eb83095faf7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3acbf83e7825ddbcdd6d792543ab0422"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__btm__ble__sec__api__functions.html#ga3acbf83e7825ddbcdd6d792543ab0422">wiced_bt_ble_security_grant</a> (<a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> bd_addr, <a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_bt_dev_status_t</a> res)</td></tr>
<tr class="memdesc:ga3acbf83e7825ddbcdd6d792543ab0422"><td class="mdescLeft">&#160;</td><td class="mdescRight">Grant or deny access.  <a href="#ga3acbf83e7825ddbcdd6d792543ab0422">More...</a><br /></td></tr>
<tr class="separator:ga3acbf83e7825ddbcdd6d792543ab0422"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1745ec7401f09c80ec5aecbacc9c0002"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__btm__ble__sec__api__functions.html#ga1745ec7401f09c80ec5aecbacc9c0002">wiced_bt_ble_data_signature</a> (<a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> bd_addr, uint8_t *p_text, uint16_t len, <a class="el" href="group__wicedbt___conn.html#ga39b3b50eac531691f2bc87291526bb73">wiced_dev_ble_signature_t</a> signature)</td></tr>
<tr class="memdesc:ga1745ec7401f09c80ec5aecbacc9c0002"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sign the data using AES128 CMAC algorith.  <a href="#ga1745ec7401f09c80ec5aecbacc9c0002">More...</a><br /></td></tr>
<tr class="separator:ga1745ec7401f09c80ec5aecbacc9c0002"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga771629322c842c541611d928ad128a40"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__btm__ble__sec__api__functions.html#ga771629322c842c541611d928ad128a40">wiced_bt_ble_verify_signature</a> (<a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> bd_addr, uint8_t *p_orig, uint16_t len, uint32_t counter, uint8_t *p_comp)</td></tr>
<tr class="memdesc:ga771629322c842c541611d928ad128a40"><td class="mdescLeft">&#160;</td><td class="mdescRight">Verify the data signature.  <a href="#ga771629322c842c541611d928ad128a40">More...</a><br /></td></tr>
<tr class="separator:ga771629322c842c541611d928ad128a40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa3a12d9312cb8bac5e7eb7033aedda8c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__btm__ble__sec__api__functions.html#gaa3a12d9312cb8bac5e7eb7033aedda8c">wiced_bt_ble_get_security_state</a> (<a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> bd_addr, uint8_t *p_le_sec_flags, uint8_t *p_le_key_size)</td></tr>
<tr class="memdesc:gaa3a12d9312cb8bac5e7eb7033aedda8c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get security mode 1 flags and encryption key size for LE peer.  <a href="#gaa3a12d9312cb8bac5e7eb7033aedda8c">More...</a><br /></td></tr>
<tr class="separator:gaa3a12d9312cb8bac5e7eb7033aedda8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2780ef822665cbfd72ba2b2eeefbc35e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_bt_dev_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__btm__ble__sec__api__functions.html#ga2780ef822665cbfd72ba2b2eeefbc35e">wiced_bt_ble_set_privacy_mode</a> (<a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> remote_bda, <a class="el" href="group__bt__types.html#ga97897f7408c23723933e9d21815c7294">wiced_bt_ble_address_type_t</a> rem_bda_type, <a class="el" href="group__wicedbt___conn.html#gae0c321e7abc54eeb9b5c39354a36dd8c">wiced_bt_ble_privacy_mode_t</a> privacy_mode)</td></tr>
<tr class="memdesc:ga2780ef822665cbfd72ba2b2eeefbc35e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Updates privacy mode if device is already available in controller resolving list.  <a href="#ga2780ef822665cbfd72ba2b2eeefbc35e">More...</a><br /></td></tr>
<tr class="separator:ga2780ef822665cbfd72ba2b2eeefbc35e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa1a08bf54c9c06015c1bbafbaab433c1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__btm__ble__sec__api__functions.html#gaa1a08bf54c9c06015c1bbafbaab433c1">wiced_ble_private_device_address_resolution</a> (<a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> rpa, <a class="el" href="group__bt__types.html#ga3081047eede654f70f0bf771e34e47a8">BT_OCTET16</a> irk)</td></tr>
<tr class="memdesc:gaa1a08bf54c9c06015c1bbafbaab433c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function wiced_ble_private_device_address_resolution.  <a href="#gaa1a08bf54c9c06015c1bbafbaab433c1">More...</a><br /></td></tr>
<tr class="separator:gaa1a08bf54c9c06015c1bbafbaab433c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafadf1111bda74127bcd449cf16ad5c06"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__btm__ble__sec__api__functions.html#gafadf1111bda74127bcd449cf16ad5c06">wiced_bt_ble_address_resolution_list_clear_and_disable</a> (void)</td></tr>
<tr class="memdesc:gafadf1111bda74127bcd449cf16ad5c06"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function wiced_bt_ble_address_resolution_list_clear_and_disable.  <a href="#gafadf1111bda74127bcd449cf16ad5c06">More...</a><br /></td></tr>
<tr class="separator:gafadf1111bda74127bcd449cf16ad5c06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2e41482216a1a152e3ecaf1c17d5e93f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__btm__ble__sec__api__functions.html#ga2e41482216a1a152e3ecaf1c17d5e93f">wiced_bt_dev_sec_bond</a> (<a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> bd_addr, <a class="el" href="group__bt__types.html#ga97897f7408c23723933e9d21815c7294">wiced_bt_ble_address_type_t</a> bd_addr_type, <a class="el" href="group__bt__types.html#gae0d25ec063a889c537f3a77010cf5ef0">wiced_bt_transport_t</a> transport, uint8_t pin_len, uint8_t *p_pin)</td></tr>
<tr class="memdesc:ga2e41482216a1a152e3ecaf1c17d5e93f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bluetooth LE Security Functions.  <a href="#ga2e41482216a1a152e3ecaf1c17d5e93f">More...</a><br /></td></tr>
<tr class="separator:ga2e41482216a1a152e3ecaf1c17d5e93f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaec31decb7680a981a8a0d96e03ae004a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__btm__ble__sec__api__functions.html#gaec31decb7680a981a8a0d96e03ae004a">wiced_bt_dev_sec_pair_without_bonding</a> (<a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> bd_addr, <a class="el" href="group__bt__types.html#ga97897f7408c23723933e9d21815c7294">wiced_bt_ble_address_type_t</a> bd_addr_type, <a class="el" href="group__bt__types.html#gae0d25ec063a889c537f3a77010cf5ef0">wiced_bt_transport_t</a> transport, uint8_t pin_len, uint8_t *p_pin)</td></tr>
<tr class="memdesc:gaec31decb7680a981a8a0d96e03ae004a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pair with peer device(dont store the keys).  <a href="#gaec31decb7680a981a8a0d96e03ae004a">More...</a><br /></td></tr>
<tr class="separator:gaec31decb7680a981a8a0d96e03ae004a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4a977184563090cb94394b7da1f09760"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__btm__ble__sec__api__functions.html#ga4a977184563090cb94394b7da1f09760">wiced_bt_dev_sec_bond_cancel</a> (<a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> bd_addr)</td></tr>
<tr class="memdesc:ga4a977184563090cb94394b7da1f09760"><td class="mdescLeft">&#160;</td><td class="mdescRight">Cancel an ongoing bonding process with peer device.  <a href="#ga4a977184563090cb94394b7da1f09760">More...</a><br /></td></tr>
<tr class="separator:ga4a977184563090cb94394b7da1f09760"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga828fe3d842b9923e408a10b87ae8fb69"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__btm__ble__sec__api__functions.html#ga828fe3d842b9923e408a10b87ae8fb69">wiced_bt_dev_set_encryption</a> (<a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> bd_addr, <a class="el" href="group__bt__types.html#gae0d25ec063a889c537f3a77010cf5ef0">wiced_bt_transport_t</a> transport, void *p_ref_data)</td></tr>
<tr class="memdesc:ga828fe3d842b9923e408a10b87ae8fb69"><td class="mdescLeft">&#160;</td><td class="mdescRight">Encrypt the specified connection.  <a href="#ga828fe3d842b9923e408a10b87ae8fb69">More...</a><br /></td></tr>
<tr class="separator:ga828fe3d842b9923e408a10b87ae8fb69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafc9a54cc8cf09e7f9c42c9a24ce9df97"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__btm__ble__sec__api__functions.html#gafc9a54cc8cf09e7f9c42c9a24ce9df97">wiced_bt_dev_confirm_req_reply</a> (<a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a> res, <a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> bd_addr)</td></tr>
<tr class="memdesc:gafc9a54cc8cf09e7f9c42c9a24ce9df97"><td class="mdescLeft">&#160;</td><td class="mdescRight">Confirm the numeric value for pairing (in response to <b>BTM_USER_CONFIRMATION_REQUEST_EVT </b> of <a class="el" href="group__wicedbt___device_management.html#ga86af8a8bb467047c9af6007f15b0d344" title="Bluetooth Management callback.">wiced_bt_management_cback_t</a>)  <a href="#gafc9a54cc8cf09e7f9c42c9a24ce9df97">More...</a><br /></td></tr>
<tr class="separator:gafc9a54cc8cf09e7f9c42c9a24ce9df97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad12b350f7c723d95b5a0303beb1a8940"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__btm__ble__sec__api__functions.html#gad12b350f7c723d95b5a0303beb1a8940">wiced_bt_dev_send_key_press_notif</a> (<a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> bd_addr, wiced_bt_dev_passkey_entry_type_t type)</td></tr>
<tr class="memdesc:gad12b350f7c723d95b5a0303beb1a8940"><td class="mdescLeft">&#160;</td><td class="mdescRight">Inform remote device of keypress during pairing.  <a href="#gad12b350f7c723d95b5a0303beb1a8940">More...</a><br /></td></tr>
<tr class="separator:gad12b350f7c723d95b5a0303beb1a8940"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga22ddaf5bbfe649631a40c80232cfdf8c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__btm__ble__sec__api__functions.html#ga22ddaf5bbfe649631a40c80232cfdf8c">wiced_bt_dev_delete_bonded_device</a> (<a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> bd_addr)</td></tr>
<tr class="memdesc:ga22ddaf5bbfe649631a40c80232cfdf8c"><td class="mdescLeft">&#160;</td><td class="mdescRight">remove bonding with remote device with assigned bd_addr  <a href="#ga22ddaf5bbfe649631a40c80232cfdf8c">More...</a><br /></td></tr>
<tr class="separator:ga22ddaf5bbfe649631a40c80232cfdf8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6c925c9deb5746fc2844d111846e93ef"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__btm__ble__sec__api__functions.html#ga6c925c9deb5746fc2844d111846e93ef">wiced_bt_dev_get_security_state</a> (<a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> bd_addr, uint8_t *p_sec_flags)</td></tr>
<tr class="memdesc:ga6c925c9deb5746fc2844d111846e93ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get security flags for the device.  <a href="#ga6c925c9deb5746fc2844d111846e93ef">More...</a><br /></td></tr>
<tr class="separator:ga6c925c9deb5746fc2844d111846e93ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga3acbf83e7825ddbcdd6d792543ab0422"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3acbf83e7825ddbcdd6d792543ab0422">&#9670;&nbsp;</a></span>wiced_bt_ble_security_grant()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wiced_bt_ble_security_grant </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>bd_addr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_bt_dev_status_t</a>&#160;</td>
          <td class="paramname"><em>res</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Grant or deny access. </p>
<p>Used in response to an BTM_SECURITY_REQUEST_EVT event.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">bd_addr</td><td>: peer device bd address. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">res</td><td>: WICED_BT_SUCCESS to grant access; WICED_BT_UNSUPPORTED , if local device does not allow pairing; WICED_BT_REPEATED_ATTEMPTS otherwise</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><b> None </b> </dd></dl>

</div>
</div>
<a id="ga2e41482216a1a152e3ecaf1c17d5e93f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2e41482216a1a152e3ecaf1c17d5e93f">&#9670;&nbsp;</a></span>wiced_bt_dev_sec_bond()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a> wiced_bt_dev_sec_bond </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>bd_addr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#ga97897f7408c23723933e9d21815c7294">wiced_bt_ble_address_type_t</a>&#160;</td>
          <td class="paramname"><em>bd_addr_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gae0d25ec063a889c537f3a77010cf5ef0">wiced_bt_transport_t</a>&#160;</td>
          <td class="paramname"><em>transport</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>pin_len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_pin</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Bluetooth LE Security Functions. </p>
<p>Bond with peer device. If the connection is already up, but not secure, pairing is attempted.</p>
<dl class="section note"><dt>Note</dt><dd>PIN parameters are only needed when bonding with legacy devices (pre-2.1 Core Spec)</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">bd_addr</td><td>: Peer device bd address to pair with. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">bd_addr_type</td><td>: BLE_ADDR_PUBLIC or BLE_ADDR_RANDOM (applies to LE devices only) </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">transport</td><td>: BT_TRANSPORT_BR_EDR or BT_TRANSPORT_LE </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">pin_len</td><td>: Length of input parameter p_pin (0 if not used). </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">p_pin</td><td>: Pointer to Pin Code to use (NULL if not used).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
<p><b> WICED_BT_PENDING </b> : if successfully initiated, <br />
<b> WICED_BT_SUCCESS </b> : if already paired to the device, else error code </p>

</div>
</div>
<a id="ga806119ffc38aa9ec12a03f9f2c8c8d43"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga806119ffc38aa9ec12a03f9f2c8c8d43">&#9670;&nbsp;</a></span>wiced_bt_dev_add_device_to_address_resolution_db()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a> wiced_bt_dev_add_device_to_address_resolution_db </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structwiced__bt__device__link__keys__t.html">wiced_bt_device_link_keys_t</a> *&#160;</td>
          <td class="paramname"><em>p_link_keys</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>add link key information to internal address resolution db </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">p_link_keys</td><td>: link keys information stored in application side</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>wiced_result_t </dd></dl>

</div>
</div>
<a id="ga91b6c2557800b5d63f8c94c17af05183"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga91b6c2557800b5d63f8c94c17af05183">&#9670;&nbsp;</a></span>wiced_bt_dev_remove_device_from_address_resolution_db()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a> wiced_bt_dev_remove_device_from_address_resolution_db </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structwiced__bt__device__link__keys__t.html">wiced_bt_device_link_keys_t</a> *&#160;</td>
          <td class="paramname"><em>p_link_keys</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>remove link key information from internal address resolution db </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">p_link_keys</td><td>: link keys information stored in application side</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>wiced_result_t </dd></dl>

</div>
</div>
<a id="ga411296312ff6cdcc59a48eb83095faf7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga411296312ff6cdcc59a48eb83095faf7">&#9670;&nbsp;</a></span>wiced_bt_dev_get_acl_conn_handle()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t wiced_bt_dev_get_acl_conn_handle </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>bdaddr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gae0d25ec063a889c537f3a77010cf5ef0">wiced_bt_transport_t</a>&#160;</td>
          <td class="paramname"><em>transport</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>get the acl connection handle for bdaddr </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">bdaddr</td><td>device identity address </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">transport</td><td>connection transport</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>: acl connection handle </dd></dl>

</div>
</div>
<a id="ga1745ec7401f09c80ec5aecbacc9c0002"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1745ec7401f09c80ec5aecbacc9c0002">&#9670;&nbsp;</a></span>wiced_bt_ble_data_signature()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> wiced_bt_ble_data_signature </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>bd_addr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__wicedbt___conn.html#ga39b3b50eac531691f2bc87291526bb73">wiced_dev_ble_signature_t</a>&#160;</td>
          <td class="paramname"><em>signature</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sign the data using AES128 CMAC algorith. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">bd_addr</td><td>target device the data to be signed for. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">p_text</td><td>signing data </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">len</td><td>length of the signing data </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">signature</td><td>output parameter where data signature is going to be stored</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if signing successful, otherwise FALSE. </dd></dl>

</div>
</div>
<a id="ga771629322c842c541611d928ad128a40"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga771629322c842c541611d928ad128a40">&#9670;&nbsp;</a></span>wiced_bt_ble_verify_signature()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> wiced_bt_ble_verify_signature </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>bd_addr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_orig</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>counter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_comp</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Verify the data signature. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">bd_addr</td><td>target device the data to be signed for. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">p_orig</td><td>original data before signature. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">len</td><td>length of the signing data </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">counter</td><td>counter used when doing data signing </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">p_comp</td><td>signature to be compared against.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if signature verified correctly; otherwise FALSE. </dd></dl>

</div>
</div>
<a id="gaa3a12d9312cb8bac5e7eb7033aedda8c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa3a12d9312cb8bac5e7eb7033aedda8c">&#9670;&nbsp;</a></span>wiced_bt_ble_get_security_state()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> wiced_bt_ble_get_security_state </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>bd_addr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_le_sec_flags</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_le_key_size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get security mode 1 flags and encryption key size for LE peer. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">bd_addr</td><td>: peer address </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">p_le_sec_flags</td><td>: security flags (see <a class="el" href="group__wicedbt___conn.html#ga43bc963a74ea1613ba9951538a059838" title="security settings used with L2CAP LE COC">wiced_bt_ble_sec_flags_e</a>) </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">p_le_key_size</td><td>: encryption key size</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if successful </dd></dl>

</div>
</div>
<a id="ga2780ef822665cbfd72ba2b2eeefbc35e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2780ef822665cbfd72ba2b2eeefbc35e">&#9670;&nbsp;</a></span>wiced_bt_ble_set_privacy_mode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_bt_dev_status_t</a> wiced_bt_ble_set_privacy_mode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>remote_bda</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#ga97897f7408c23723933e9d21815c7294">wiced_bt_ble_address_type_t</a>&#160;</td>
          <td class="paramname"><em>rem_bda_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__wicedbt___conn.html#gae0c321e7abc54eeb9b5c39354a36dd8c">wiced_bt_ble_privacy_mode_t</a>&#160;</td>
          <td class="paramname"><em>privacy_mode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Updates privacy mode if device is already available in controller resolving list. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">remote_bda</td><td>-remote device address received during connection up </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">rem_bda_type</td><td>-remote device address type received during connection up </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">privacy_mode</td><td>- privacy mode (see <a class="el" href="group__wicedbt___conn.html#gae0c321e7abc54eeb9b5c39354a36dd8c">wiced_bt_ble_privacy_mode_t</a>)</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>wiced_bt_dev_status_t <br />
<b> WICED_BT_ILLEGAL_VALUE </b> : if paramer is wrong <br />
<b> WICED_BT_UNSUPPORTED </b> : if command not supported <br />
<b> WICED_BT_UNKNOWN_ADDR </b> : if bd_addr is wrong <br />
<b> WICED_BT_ILLEGAL_ACTION </b> : if device not added to resolving list or peer irk is not valid <br />
<b> WICED_BT_ERROR </b> : error while processing the command <br />
<b> WICED_BT_SUCCESS</b> : if command started </dd></dl>

</div>
</div>
<a id="gaa1a08bf54c9c06015c1bbafbaab433c1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa1a08bf54c9c06015c1bbafbaab433c1">&#9670;&nbsp;</a></span>wiced_ble_private_device_address_resolution()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a> wiced_ble_private_device_address_resolution </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>rpa</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#ga3081047eede654f70f0bf771e34e47a8">BT_OCTET16</a>&#160;</td>
          <td class="paramname"><em>irk</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Function wiced_ble_private_device_address_resolution. </p>
<pre class="fragment">             This API verifies whether given device address is Resolvable Private Address or not
</pre><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rpa</td><td>LE Resolvable Private Address </td></tr>
    <tr><td class="paramname">irk</td><td>LE IRK </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>wiced_result_t WICED_BT_SUCCESS the identity of device address has been resolved. WICED_BT_ERROR otherwise. </dd></dl>

</div>
</div>
<a id="gafadf1111bda74127bcd449cf16ad5c06"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafadf1111bda74127bcd449cf16ad5c06">&#9670;&nbsp;</a></span>wiced_bt_ble_address_resolution_list_clear_and_disable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a> wiced_bt_ble_address_resolution_list_clear_and_disable </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Function wiced_bt_ble_address_resolution_list_clear_and_disable. </p>
<p>This API clears the address resolution list and disables the address resolution feature.</p>
<dl class="section return"><dt>Returns</dt><dd>wiced_result_t WICED_BT_SUCCESS if address resolution list is cleared and adress resolution feature is disabled. WICED_BT_ERROR otherwise. </dd></dl>

</div>
</div>
<a id="gaec31decb7680a981a8a0d96e03ae004a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaec31decb7680a981a8a0d96e03ae004a">&#9670;&nbsp;</a></span>wiced_bt_dev_sec_pair_without_bonding()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a> wiced_bt_dev_sec_pair_without_bonding </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>bd_addr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#ga97897f7408c23723933e9d21815c7294">wiced_bt_ble_address_type_t</a>&#160;</td>
          <td class="paramname"><em>bd_addr_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gae0d25ec063a889c537f3a77010cf5ef0">wiced_bt_transport_t</a>&#160;</td>
          <td class="paramname"><em>transport</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>pin_len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_pin</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Pair with peer device(dont store the keys). </p>
<p>If the connection is already up, but not secure, pairing is attempted.</p>
<dl class="section note"><dt>Note</dt><dd>PIN parameters are only needed when bonding with legacy devices (pre-2.1 Core Spec)</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">bd_addr</td><td>: Peer device bd address to pair with. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">bd_addr_type</td><td>: BLE_ADDR_PUBLIC or BLE_ADDR_RANDOM (applies to LE devices only) </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">transport</td><td>: BT_TRANSPORT_BR_EDR or BT_TRANSPORT_LE </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">pin_len</td><td>: Length of input parameter p_pin (0 if not used). </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">p_pin</td><td>: Pointer to Pin Code to use (NULL if not used).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
<p><b> WICED_BT_PENDING </b> : if successfully initiated, <br />
<b> WICED_BT_SUCCESS </b> : if already paired to the device, else error code </p>

</div>
</div>
<a id="ga4a977184563090cb94394b7da1f09760"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4a977184563090cb94394b7da1f09760">&#9670;&nbsp;</a></span>wiced_bt_dev_sec_bond_cancel()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a> wiced_bt_dev_sec_bond_cancel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>bd_addr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Cancel an ongoing bonding process with peer device. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">bd_addr</td><td>: Peer device bd address to pair with.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
<p><b> WICED_BT_PENDING </b> : if cancel initiated, <br />
<b> WICED_BT_SUCCESS </b> : if cancel has completed already, else error code. </p>

</div>
</div>
<a id="ga828fe3d842b9923e408a10b87ae8fb69"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga828fe3d842b9923e408a10b87ae8fb69">&#9670;&nbsp;</a></span>wiced_bt_dev_set_encryption()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a> wiced_bt_dev_set_encryption </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>bd_addr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gae0d25ec063a889c537f3a77010cf5ef0">wiced_bt_transport_t</a>&#160;</td>
          <td class="paramname"><em>transport</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>p_ref_data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Encrypt the specified connection. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">bd_addr</td><td>: Address of peer device </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">transport</td><td>: BT_TRANSPORT_BR_EDR or BT_TRANSPORT_LE </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">p_ref_data</td><td>: Encryption type <a class="el" href="group__wicedbt___conn.html#ga063af36361f0fd1f625146102b5de0b6">wiced_bt_ble_sec_action_type_t</a></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
<p><b> WICED_BT_SUCCESS </b> : already encrypted <br />
<b> WICED_BT_PENDING </b> : Status is notified using <b>BTM_ENCRYPTION_STATUS_EVT </b> of <a class="el" href="group__wicedbt___device_management.html#ga86af8a8bb467047c9af6007f15b0d344" title="Bluetooth Management callback.">wiced_bt_management_cback_t</a>.<br />
<b> WICED_BT_WRONG_MODE </b> : connection not up. <br />
<b> WICED_BT_BUSY </b> : security procedures are currently active </p>

</div>
</div>
<a id="gafc9a54cc8cf09e7f9c42c9a24ce9df97"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafc9a54cc8cf09e7f9c42c9a24ce9df97">&#9670;&nbsp;</a></span>wiced_bt_dev_confirm_req_reply()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wiced_bt_dev_confirm_req_reply </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a>&#160;</td>
          <td class="paramname"><em>res</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>bd_addr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Confirm the numeric value for pairing (in response to <b>BTM_USER_CONFIRMATION_REQUEST_EVT </b> of <a class="el" href="group__wicedbt___device_management.html#ga86af8a8bb467047c9af6007f15b0d344" title="Bluetooth Management callback.">wiced_bt_management_cback_t</a>) </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">res</td><td>: result of the operation WICED_BT_SUCCESS if success </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">bd_addr</td><td>: Address of the peer device</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>

</div>
</div>
<a id="gad12b350f7c723d95b5a0303beb1a8940"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad12b350f7c723d95b5a0303beb1a8940">&#9670;&nbsp;</a></span>wiced_bt_dev_send_key_press_notif()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wiced_bt_dev_send_key_press_notif </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>bd_addr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">wiced_bt_dev_passkey_entry_type_t&#160;</td>
          <td class="paramname"><em>type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Inform remote device of keypress during pairing. </p>
<p>Used during the passkey entry by a device with KeyboardOnly IO capabilities (typically a HID keyboard device).</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">bd_addr</td><td>: Address of the peer device </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">type</td><td>: notification type </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga22ddaf5bbfe649631a40c80232cfdf8c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga22ddaf5bbfe649631a40c80232cfdf8c">&#9670;&nbsp;</a></span>wiced_bt_dev_delete_bonded_device()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a> wiced_bt_dev_delete_bonded_device </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>bd_addr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>remove bonding with remote device with assigned bd_addr </p>
<dl class="section attention"><dt>Attention</dt><dd>Stack does not store any bonding information. For applications which use BLE mode invoke <a class="el" href="group__btm__ble__sec__api__functions.html#ga91b6c2557800b5d63f8c94c17af05183">wiced_bt_dev_remove_device_from_address_resolution_db</a> to remove the device from the resolving list.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">bd_addr</td><td>: bd_addr of remote device to be removed from bonding list</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns WICED_SUCCESS </dd></dl>

</div>
</div>
<a id="ga6c925c9deb5746fc2844d111846e93ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6c925c9deb5746fc2844d111846e93ef">&#9670;&nbsp;</a></span>wiced_bt_dev_get_security_state()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> wiced_bt_dev_get_security_state </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>bd_addr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_sec_flags</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get security flags for the device. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">bd_addr</td><td>: peer address </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">p_sec_flags</td><td>: security flags (see <a class="el" href="group__wicedbt___device_management.html#ga81db582b115f4586be18f142d054b0ac" title="security flags for current BR/EDR link">wiced_bt_sec_flags_e</a>)</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if successful </dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>Bluetooth Host Stack Library</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
</body>
</html>
